LinkStatusChanged
TheLinkStatusChanged
method is called to notify this part that the link status of one of its display frames has changed.
void LinkStatusChanged (in ODFrame frame);
frame
- A reference to a display frame whose link status has changed.
DISCUSSION
OpenDoc calls this method. Your part'sLinkStatusChanged
method should call theChangeLinkStatus
method of each embedded frame affected by the display frame change, assigning it the same link status as the display frame.If the frame passed into the
LinkStatusChanged
method has been opened into a part window, the displayed part should call theChangeLinkStatus
method of the root frame of the part window. This action ensures that all frames in the part window will have their link status set correctly. Note that if a part calls theChangeLinkStatus
method of one of its display frames, OpenDoc calls the part's ownLinkStatusChanged
method (in this case, recursively).If the value
kODNotInLink
was assigned in theChangeLinkStatus
method, then your part'sLinkStatusChanged
method can still get the status of this part's display frame (its containing frame).OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheODFrame::ChangeLinkStatus
method (page 308).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"The LinkStatusChanged Method of Your Part Editor" on page 375 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help